package com.andon.microcellsimulator.model;

import com.andon.microcellsimulator.http.response.DeviceBean;

/**
 * Created by admin on 17/12/5.
 */
public class DeviceModel extends DeviceBean {

    private String deviceName;
    private int isOnline;

    public DeviceModel() {}

    public DeviceModel(DeviceBean deviceBean) {
        setDid(deviceBean.getDid());
        setAsl(deviceBean.getAsl());
        setAuthinfo(deviceBean.getAuthinfo());
        setCommProtocol(deviceBean.getCommProtocol());
        setDtype(deviceBean.getDtype());
        setType(deviceBean.getType());
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public int getIsOnline() {
        return isOnline;
    }

    public void setIsOnline(int isOnline) {
        this.isOnline = isOnline;
    }
}
